package com.caishichang.infosysdesign.service.impl;

import com.caishichang.infosysdesign.dao.UserMapper;
import com.caishichang.infosysdesign.entity.User;
import com.caishichang.infosysdesign.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;


    @Override
    public User login(String userName, String userPassword) {
        return userMapper.login(userName, userPassword);
    }

}
